#ifndef VIEWER_ARCROLL_H
#define VIEWER_ARCROLL_H

#include<Viewer_Interpreter/Viewer_OpenGL_Interpreter.h>




#ifdef __cplusplus
extern "C" {
#endif
typedef struct Viewer_Arcroll
{
    float* old_mouse_coord;
    //axis
    Viewer_Something* vs;
	Viewer_Camera*mc;
    Viewer_World* vw;
    Viewer_Opengl_Interpreter* voi;
    Node* disappear_somethings;
}Viewer_Arcroll;
void viewer_Arcroll_cursor_position_callback(Viewer_Intera*);
void viewer_Arcroll_mouse_button_callback(Viewer_Intera*);
void viewer_Arcroll_framebuffer_size_callback(Viewer_Intera*);
void viewer_Arcroll_key_callback(Viewer_Intera*);
void viewer_Arcroll_scroll_callback(Viewer_Intera*,double,double);
void viewer_Arcroll_drop_callback(Viewer_Intera*);
static inline void Viewer_Arcroll_init(Viewer_Arcroll*ma)
{
    ma->old_mouse_coord=(float*)malloc(sizeof(float)*2);
    ma->vs=NULL;
    ma->mc=0;
    ma->vw=NULL;
    ma->voi=NULL;
    ma->disappear_somethings=NULL;
}
///void _Read_(Mesh*mesh,char const * filename);
#ifdef __cplusplus
}
#endif

#endif
